	<%= error_messages_for :account %>
	

	<div id ="sub-menu">

	<%= link_to 'Creer un compte', {:controller => "accounts", :action => "new"}, :class => "bouton" %> 
	<%= link_to 'Les comptes', {:controller => "accounts", :action => "index"}, :class => "bouton" %>

 	</div>
   

 	</div>	

    
 <div id="formulaire">
	<h3>Editer le compte id: <%= @account.id %> </h3>

	<% form_for(@account) do |f| %>
	
		 <table class="table-form">	
		 <tr>
		 <td>Login :</td>
		 <td><%= f.text_field :login %></td>
		 </tr>
			
		  <tr>
		  <td>Mot de passe : </td>
		  <td><%= f.password_field :password %></td>
		  </tr>

		  <tr>
		  <td>Confirmation du mot de passe :</td>
		  <td><%= f.password_field :password_confirmation %></td>
		  </tr>
			
		</table>		
			<%= f.submit 'Mettre à jour', :class => "bouton1" %>
	<% end %>

</div>